<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JSON Voorhees: jsonv::detail::member_adapter_impl&lt; T, TMember &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classjsonv_1_1detail_1_1member__adapter__impl.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classjsonv_1_1detail_1_1member__adapter__impl-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">jsonv::detail::member_adapter_impl&lt; T, TMember &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for jsonv::detail::member_adapter_impl&lt; T, TMember &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classjsonv_1_1detail_1_1member__adapter__impl.png" usemap="#jsonv::detail::member_5Fadapter_5Fimpl_3C_20T_2C_20TMember_20_3E_map" alt=""/>
  <map id="jsonv::detail::member_5Fadapter_5Fimpl_3C_20T_2C_20TMember_20_3E_map" name="jsonv::detail::member_5Fadapter_5Fimpl_3C_20T_2C_20TMember_20_3E_map">
<area href="classjsonv_1_1detail_1_1member__adapter.html" alt="jsonv::detail::member_adapter&lt; T &gt;" shape="rect" coords="0,0,300,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a279c4955033eb9647275f48e7b40d7e0"><td class="memItemLeft" align="right" valign="top"><a id="a279c4955033eb9647275f48e7b40d7e0"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>mutator_type</b> = std::function&lt; void(T &amp;, TMember &amp;&amp;)&gt;</td></tr>
<tr class="separator:a279c4955033eb9647275f48e7b40d7e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2872fe832613588e633a15721020651d"><td class="memItemLeft" align="right" valign="top"><a id="a2872fe832613588e633a15721020651d"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>accessor_type</b> = std::function&lt; const TMember &amp;(const T &amp;)&gt;</td></tr>
<tr class="separator:a2872fe832613588e633a15721020651d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acc630b5a0fa0ee266c5832819675b43d"><td class="memItemLeft" align="right" valign="top"><a id="acc630b5a0fa0ee266c5832819675b43d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>member_adapter_impl</b> (std::string name, mutator_type mutator, accessor_type access)</td></tr>
<tr class="separator:acc630b5a0fa0ee266c5832819675b43d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfde7d1d208aa2c27f4a1bb7b453c855"><td class="memItemLeft" align="right" valign="top"><a id="acfde7d1d208aa2c27f4a1bb7b453c855"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>member_adapter_impl</b> (std::string name, TMember T::*selector)</td></tr>
<tr class="separator:acfde7d1d208aa2c27f4a1bb7b453c855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf0a0e616ff384c832e091c426190708"><td class="memItemLeft" align="right" valign="top"><a id="aaf0a0e616ff384c832e091c426190708"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mutate</b> (const <a class="el" href="classjsonv_1_1extraction__context.html">extraction_context</a> &amp;context, const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;from, T &amp;out) const override</td></tr>
<tr class="separator:aaf0a0e616ff384c832e091c426190708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8c863e64a6752164400c0e0a934fa1a"><td class="memItemLeft" align="right" valign="top"><a id="af8c863e64a6752164400c0e0a934fa1a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>to_json</b> (const <a class="el" href="classjsonv_1_1serialization__context.html">serialization_context</a> &amp;context, const T &amp;from, <a class="el" href="classjsonv_1_1value.html">value</a> &amp;out) const override</td></tr>
<tr class="separator:af8c863e64a6752164400c0e0a934fa1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82d88fb0852ffb2e72db63fa850b840e"><td class="memItemLeft" align="right" valign="top"><a id="a82d88fb0852ffb2e72db63fa850b840e"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>has_extract_key</b> (<a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> key) const override</td></tr>
<tr class="separator:a82d88fb0852ffb2e72db63fa850b840e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64a6e68fc63257791b111c504da00982"><td class="memItemLeft" align="right" valign="top"><a id="a64a6e68fc63257791b111c504da00982"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>add_encode_check</b> (std::function&lt; bool(const <a class="el" href="classjsonv_1_1serialization__context.html">serialization_context</a> &amp;, const TMember &amp;)&gt; <a class="el" href="group__Serialization.html#ggaaee4cddaeb99aafe88212663f93b9856a0ba4439ee9a46d9d9f14c60f88f45f87">check</a>)</td></tr>
<tr class="separator:a64a6e68fc63257791b111c504da00982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4914318cc48f7e096925272366fe719"><td class="memItemLeft" align="right" valign="top"><a id="ae4914318cc48f7e096925272366fe719"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>add_extraction_mutator</b> (std::function&lt; TMember(TMember &amp;&amp;)&gt; mutate)</td></tr>
<tr class="separator:ae4914318cc48f7e096925272366fe719"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a344b1b47f96a930dc09d7405f75df64a"><td class="memItemLeft" align="right" valign="top"><a id="a344b1b47f96a930dc09d7405f75df64a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>add_extraction_check</b> (std::function&lt; void(const TMember &amp;)&gt; <a class="el" href="group__Serialization.html#ggaaee4cddaeb99aafe88212663f93b9856a0ba4439ee9a46d9d9f14c60f88f45f87">check</a>)</td></tr>
<tr class="separator:a344b1b47f96a930dc09d7405f75df64a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76e61542fd92aac9d8d3e12a60fd93b0"><td class="memItemLeft" align="right" valign="top"><a id="a76e61542fd92aac9d8d3e12a60fd93b0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>default_value</b> (std::function&lt; TMember(const <a class="el" href="classjsonv_1_1extraction__context.html">extraction_context</a> &amp;, const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;)&gt; &amp;&amp;create)</td></tr>
<tr class="separator:a76e61542fd92aac9d8d3e12a60fd93b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1af88da97f8d23cadc90e912e1c0827f"><td class="memItemLeft" align="right" valign="top"><a id="a1af88da97f8d23cadc90e912e1c0827f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>default_on_null</b> (bool on)</td></tr>
<tr class="separator:a1af88da97f8d23cadc90e912e1c0827f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:acdbf370e19df2f546b66a7a29400b1bc"><td class="memTemplParams" colspan="2"><a id="acdbf370e19df2f546b66a7a29400b1bc"></a>
template&lt;typename U , typename UMember &gt; </td></tr>
<tr class="memitem:acdbf370e19df2f546b66a7a29400b1bc"><td class="memTemplItemLeft" align="right" valign="top">class&#160;</td><td class="memTemplItemRight" valign="bottom"><b>member_adapter_builder</b></td></tr>
<tr class="separator:acdbf370e19df2f546b66a7a29400b1bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T, typename TMember&gt;<br />
class jsonv::detail::member_adapter_impl&lt; T, TMember &gt;</h3>


<p class="definition">Definition at line <a class="el" href="serialization__builder_8hpp_source.html#l00692">692</a> of file <a class="el" href="serialization__builder_8hpp_source.html">serialization_builder.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>jsonv/<a class="el" href="serialization__builder_8hpp_source.html">serialization_builder.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>jsonv</b></li><li class="navelem"><b>detail</b></li><li class="navelem"><a class="el" href="classjsonv_1_1detail_1_1member__adapter__impl.html">member_adapter_impl</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
